﻿using System.Windows.Forms;

namespace Borg
{
    [SlotDefinition("LayoutManager")]
    public interface ILayoutManager
    {
        void Init(Control container, SlotInfo slot);
        void Release();
        void SetLayoutStyle(LayoutStyles layoutstyle);
    }

    [SlotDefinition("Borg.MdiLayout")]
    public interface IMdiLayout
    {
        void ArrangeIcons();
        void Cascade();

        void MinimizeAll();
        void RestoreAll();

        void TileHorizontal();
        void TileVertical();
    }

    public enum LayoutStyles
    {
        RowLayout,
        CollumnLayout
    }
}

